package com.atguigu.spzx.pay.service;

import com.atguigu.spzx.model.entity.pay.PaymentInfo;
import com.atguigu.spzx.model.vo.common.Result;
import jakarta.servlet.http.HttpServletRequest;

import java.util.Map;

public interface PaymentInfoService {
    PaymentInfo findPaymentInfoByOrderNo(String orderNo);

    void save(PaymentInfo paymentInfo);

    void update(PaymentInfo paymentInfo);

    String notifyUrl(Map<String, String> params);

    String returnUrl(HttpServletRequest request);

    Result submitAlipay(Long orderNo);
}
